<?php


namespace App\Kuafu\Sms\Enum;


use App\Kuafu\Base\Enum\BaseCodeEnum;

class SmsCodeEnum extends BaseCodeEnum
{
    public const SMS_CODE_MINUTE   = 420001;
    public const SMS_CODE_HOUR     = 420002;
    public const SMS_CODE_EXPIRE   = 420003;
    public const SMS_CODE_SEND_ERR = 420004;

    const CODE_TEXT = [
        self::SMS_CODE_MINUTE   => '发送失败，请一分钟后再试',
        self::SMS_CODE_HOUR     => '发送失败，请一小时后再试',
        self::SMS_CODE_EXPIRE   => '短信验证码填写错误，请重新填写',
        self::SMS_CODE_SEND_ERR => '验证码发送错误',
    ];
}
